<?
include_once "_common.php";
include_once("config.php"); 

//************************************************************
//
// 스킨명 : 카멜레온 간이몰 스킨
// 버  젼 : 2006-03-16일짜 버젼
// 제작자 : ⓒⓒⓒ (Soonho Choi) http://cm-builder.com
// MSN    : oldccc@oldccc.com
// 
// 저작권 : 이 주석 부분을 훼손하지 상태에서 수정및 사용이 자유롭습니다.
//
//************************************************************
//
// 스킨명 : 간이몰 스킨 1v
// 수  정 : 2006-07-29일
// 수정자 : 스펙트럼 (toptalent) http://spectrum-enter.com/YBH/
// E-mail : top-talent@hanmail.net
// 
// 저작권 : 이 주석 부분을 훼손하지않은 상태에서 수정및 사용이 자유롭습니다.
//
//************************************************************

if($is_admin == 'super') {
	$od = sql_fetch("SELECT * FROM {$g4[order_table]} WHERE od_id='$od_id' ");
} else if($member[mb_id]) {
   $od = sql_fetch("SELECT * FROM {$g4[order_table]} WHERE od_id='$od_id' and mb_id = '$member[mb_id]' ");
} else {
	$od = sql_fetch("SELECT * FROM {$g4[order_table]} WHERE od_id='$od_id' and mb_name='".$_SESSION["od_name"]."' and passwd = '".$_SESSION["od_pwd"]."' ");
}

?>
<html>
<head>
<title>주문내역보기</title>
<link rel="stylesheet" href="style.css" type="text/css">
<style>
.amount { color:#2266BB; font-weight:bold; font-family:돋움; } 
.c1 { background-color:#3fb193; } 
.c2 { background-color:#EEEEEE; } 
.write_head { height:30px; text-align:center; color:#8492A0;font-weight:bold;}
</style>
</head>
<body>
<!-- 게시글 보기 시작 -->
<table width="100%" align="center" cellpadding="0"  cellspacing=0><tr><td>
<!--  pro spec list -->
<table cellpadding=2 cellspacing=0 border=0 width=98% align=center>
<tr><td colspan=2 height=5></td></tr>
<tr>
  <td colspan=2>
	<? include "ordersub_inc.php"?>
  </td>
</tr>
<tr><td colspan=2 height=20></td></tr>

</table>

<table width="90%" align="center" align="center" cellpadding="0"  cellspacing=0>
<tr>
    <td>
	<div style="border:1px solid #ddd; height:34px; background:url(<?=$board_skin_path?>/img/title_bg.gif) repeat-x;">
	<div style="font-weight:bold; font-size:14px; margin:7px 0 0 10px;">구매자 정보</div>
	</div>
	<div style="height:3px; background:url(<?=$board_skin_path?>/img/title_shadow.gif) repeat-x; line-height:1px; font-size:1px;"></div>
	</td>
</tr>
</table>

<table width="90%" align="center" cellpadding="8"  cellspacing=1 bgcolor="#EEEEEE">
<tr bgcolor="#FFFFFF">
	<td class=write_head>성함</span></td>
    <td><?=$od[od_name]?></td>
</tr>
<tr bgcolor="#FFFFFF">
	<td class=write_head>연락처</span></td>
    <td><?=$od[od_tel]?></td>
</tr>
<tr bgcolor="#FFFFFF">
	<td class=write_head>핸드폰</span></td>
    <td><?=$od[od_hp]?></td>
</tr>
<tr bgcolor="#FFFFFF">
	<td class=write_head>주소</span></td>
    <td><?=$od[od_zip1]?>-<?=$od[od_zip2]?><?=$od[od_addr1]?><?=$od[od_addr2]?></td>
</tr>
<tr bgcolor="#FFFFFF">
	<td class=write_head>입금은행</span></td>
    <td><?=$od[od_bank_use]?></td>
</tr>
<tr bgcolor="#FFFFFF">
	<td class=write_head>입금자</span></td>
    <td><?=$od[od_bank_mb_name]?></td>
</tr>
<tr bgcolor="#FFFFFF">
	<td class=write_head>입금날짜</span></td>
    <td><?=$od[od_bank_date]?></td>
</tr>
<tr bgcolor="#FFFFFF">
	<td class=write_head>기  타</span></td>
    <td><?=$od[od_memo]?></td>
</tr>
</table>

</td>
</tr>
<tr>
	<td height="50" align="Center"><a href='javascript:window.close();'><img src="<?=$board_skin_path?>/img/order_close.gif" border="0"></a></td>
</tr>
</table>
</body>
</html>
